package com.hup.minicontroller.client.mvp;

import android.bluetooth.BluetoothDevice;
import android.graphics.Bitmap;

import com.hup.minicontroller.client.model.LanBroadcastServer;
import com.hup.minicontroller.common.netty.model.LoginResponsePacket;

import java.util.Collection;

public interface IMainView {

    void onConnectResult(LoginResponsePacket loginResponse);

    void onControlConfigChanged();

    void onConnectionLost();

    void onChannelIdle();

    /**
     * @param screenData 方向无颠倒的屏幕图像,尺寸/宽高比可以是任意的
     */
    void onScreenData(Bitmap screenData);

    void onScannedBroadcastServer(Collection<LanBroadcastServer> broadcastServers);

    void onScannedBluetooth(Collection<BluetoothDevice> bluetoothDevices);
}
